package cn.weiyan.dtx.seatademo.bank1.spring;

import org.springframework.stereotype.Component;

/**
 * @author misterWei
 * @create 2020年02月14号:17点45分
 * @mailbox mynameisweiyan@gmail.com
 *
 * 熔断机制
 */
@Component
public class Bank2ClientFallback implements Bank2Client{
    @Override
    public String transfer(Double amount) {
        return "rallBack;";
    }
}
